<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
        <script type="text/javascript" src="https://assets.pyecharts.org/assets/themes/macarons.js"></script>

</head>
<body>
    <div id="bafa7eca572f4304b35f3edb77f93ad7" class="chart-container" style="width:900px; height:500px;"></div>
    <script>
        var chart_bafa7eca572f4304b35f3edb77f93ad7 = echarts.init(
            document.getElementById('bafa7eca572f4304b35f3edb77f93ad7'), 'macarons', {renderer: 'canvas'});
        var option_bafa7eca572f4304b35f3edb77f93ad7 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 1000,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "series": [
        {
            "type": "bar",
            "name": "2020\u5e74\u4e2d\u56fd500\u5f3a-\u8425\u4e1a\u6536\u5165\u533a\u95f4\u5206\u5e03",
            "data": [
                256,
                106,
                28,
                17,
                14,
                8,
                4,
                6,
                2,
                4,
                1,
                3,
                1,
                3,
                2,
                2,
                1,
                1,
                1,
                1
            ],
            "barCategoryGap": "20%",
            "label": {
                "show": true,
                "position": "top",
                "margin": 8
            }
        }
    ],
    "legend": [
        {
            "data": [
                "2020\u5e74\u4e2d\u56fd500\u5f3a-\u8425\u4e1a\u6536\u5165\u533a\u95f4\u5206\u5e03"
            ],
            "selected": {
                "2020\u5e74\u4e2d\u56fd500\u5f3a-\u8425\u4e1a\u6536\u5165\u533a\u95f4\u5206\u5e03": true
            },
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "xAxis": [
        {
            "name": "\u533a\u95f4\u5206\u5e03",
            "show": true,
            "scale": false,
            "nameLocation": "end",
            "nameGap": 15,
            "gridIndex": 0,
            "axisLabel": {
                "show": true,
                "position": "top",
                "rotate": 30,
                "margin": 8
            },
            "inverse": false,
            "offset": 0,
            "splitNumber": 5,
            "minInterval": 0,
            "splitLine": {
                "show": false,
                "lineStyle": {
                    "show": true,
                    "width": 1,
                    "opacity": 1,
                    "curveness": 0,
                    "type": "solid"
                }
            },
            "data": [
                "0~49999",
                "50000~99999",
                "100000~149999",
                "150000~199999",
                "200000~249999",
                "250000~299999",
                "300000~349999",
                "350000~399999",
                "400000~449999",
                "450000~499999",
                "500000~549999",
                "550000~599999",
                "600000~649999",
                "700000~749999",
                "800000~849999",
                "850000~899999",
                "1150000~1199999",
                "1400000~1449999",
                "2500000~2549999",
                "2950000~2999999"
            ]
        }
    ],
    "yAxis": [
        {
            "name": "\u4e2a\u6570",
            "show": true,
            "scale": false,
            "nameLocation": "end",
            "nameGap": 15,
            "gridIndex": 0,
            "inverse": false,
            "offset": 0,
            "splitNumber": 5,
            "minInterval": 0,
            "splitLine": {
                "show": false,
                "lineStyle": {
                    "show": true,
                    "width": 1,
                    "opacity": 1,
                    "curveness": 0,
                    "type": "solid"
                }
            }
        }
    ],
    "title": [
        {
            "left": "90%",
            "top": "10",
            "padding": 5,
            "itemGap": 10,
            "textStyle": {
                "color": "red",
                "fontWeight": "bold",
                "fontFamily": "SimHei",
                "fontSize": 10
            }
        }
    ]
};
        chart_bafa7eca572f4304b35f3edb77f93ad7.setOption(option_bafa7eca572f4304b35f3edb77f93ad7);
    </script>
</body>
</html>
